home *** CD-ROM | disk | FTP | other *** search
/ Interactive Media Design Review 1999 / Interactive Media Design Review 1999.iso / pc / allfiles / Centri / Centri.dir / 00201_PopScreen2.ls < prev    next >
Encoding:
Text File  |  1999-02-25  |  783 b   |  27 lines

  1. on mouseWithin me
  2.   set the cursor of sprite the spriteNum of me to [210, 211]
  3.   set the visible of sprite 47 to 1
  4.   set the visible of sprite 49 to 1
  5. end
  6.  
  7. on mouseLeave me
  8.   set the cursor of sprite the spriteNum of me to -1
  9. end
  10.  
  11. on mouseUp me
  12.   if the memberNum of sprite the spriteNum of me = 218 then
  13.     set the memberNum of sprite the spriteNum of me to 220
  14.     set the visible of sprite 45 to 1
  15.     set the visible of sprite 23 to 1
  16.     set the visible of sprite 47 to 1
  17.   else
  18.     if the memberNum of sprite the spriteNum of me = 220 then
  19.       set the memberNum of sprite the spriteNum of me to 218
  20.       set the visible of sprite 45 to 0
  21.       set the visible of sprite 23 to 0
  22.       set the visible of sprite 47 to 0
  23.     end if
  24.   end if
  25.   puppetSound(2, "click_Edit")
  26. end
  27.